
condition={
    "座椅加热":{1:{"film":"封神第一部","start":"00:10:34","end":"00:11:18"}},
    "座椅通风": {1: {"film": "封神第一部", "start": "00:03:03", "end": "00:14:12"}},
    "座椅移动向前": {1: {"film": "哥斯拉大战金刚", "start": "00:13:32", "end": None},
                    2: {"film": "哥斯拉大战金刚", "start": "00:39:22", "end": None}},
    "座椅移动向后": {1: {"film": "哥斯拉大战金刚", "start": "00:02:53", "end": None},
                    2: {"film": "哥斯拉大战金刚", "start": "00:18:09", "end": None}},
    "座椅移动靠背向前": {1: {"film": "哥斯拉大战金刚", "start": "00:42:32", "end": None},
                    2: {"film": "哥斯拉大战金刚", "start": "01:21:01", "end": None}},
    "座椅移动靠背向后": {1: {"film": "哥斯拉大战金刚", "start": "00:42:21", "end": None},
                    2: {"film": "哥斯拉大战金刚", "start": "01:19:36", "end": None}},
    "座椅移动向上": {1: {"film": "哥斯拉大战金刚", "start": "00:38:21", "end": None},
                    2: {"film": "哥斯拉大战金刚", "start": "00:39:27", "end": None}},
    "座椅移动向下": {1: {"film": "哥斯拉大战金刚", "start": "00:18:11", "end": None},
                     2: {"film": "哥斯拉大战金刚", "start": "00:56:55", "end": None}},
    "座椅按摩": {1: {"film": "封神第一部", "start": "00:58:15", "end": "00:58:23"}},
    "座椅律动": {1: {"film": "封神第一部", "start": "00:03:34", "end": "00:04:50"}},
    "座椅原子化振动": {1: {"film": "封神第一部", "start": "00:06:14", "end": "00:06:17"},
                    2: {"film": "哥斯拉大战金刚", "start": "00:02:32", "end": "00:02:35"},
                    3: {"film": "哥斯拉大战金刚", "start": "00:02:39", "end": "00:02:41"},
                    4: {"film": "哥斯拉大战金刚", "start": "00:02:32", "end": "00:02:35"}},
    "空调": {1: {"film": "哥斯拉大战金刚", "start": "00:00:54", "end": "00:01:29"},
             2: {"film": "哥斯拉大战金刚", "start": "00:01:40", "end": "00:01:49"}},
    "音乐律动": {1: {"film": "心灵奇旅", "start": "00:06:17", "end": "00:07:56"}},
    "香氛": {1: {"film": "心灵奇旅", "start": "00:11:22", "end": "00:12:05"},
             2: {"film": "心灵奇旅", "start": "00:14:12", "end": "00:15:43"}},
}
keyword={
    "座椅通风开关":"setSetAutVentnModeOnOff",
	"座椅通风强度":"setSeatVentilationLevel",
    "座椅通风":"setSetAutVentnModeOnOff&setSeatVentilationLevel",
	"座椅加热开关":"setSeatAutHeatModeOnOff",
	"座椅加热强度":"setSeatHeatingLevel",
    "座椅加热":"setSeatHeatingLevel&setSeatAutHeatModeOnOff",
	"座椅律动&按摩&原子化振动":"recoverShake",
    "座椅律动":"recoverShake",
    "座椅原子化振动":"recoverShake",
    "座椅按摩":"recoverShake",
	"座椅前后移动停止":"moveStop",
    "座椅移动向前":"moveStop",
    "座椅移动向后":"moveStop",
	"座椅上下移动停止":"moveHighLowStop",
    "座椅移动向上":"moveHighLowStop",
    "座椅移动向下":"moveHighLowStop",
	"座椅靠背移动停止":"backrestMoveStop",
    "座椅靠背移动向前":"backrestMoveStop",
    "座椅靠背移动向后":"backrestMoveStop",
	"空调温度（模式）":"recoverTemperature",
	"空调风向":"recoverWindDirection",
"	空调风量":"recoverWindDensity",
    "空调":"recoverTemperature&recoverWindDirection&recoverWindDensity",
	"氛围灯开关":"recoverShow",
    "氛围灯":"recoverShow"
}

eventlist=[{"event_name": "跳转进度条到 00:58:05 ",
                                   "event_pattern": r'onGetCurrentTimeStamp seek : (\d{2}:\d{2}:\d{2}) -> (\d{2}:\d{2}:\d{2})'},
                                  {"event_name": "座椅按摩开启",
                                   "event_pattern": r'onSeatShake: ts = 00:58:15, action = 13, strength = 3'},
                                  {"event_name": "开始自然播放",
                                   "event_pattern": r'GetCurrentTimeStamp timestamp : \d+ - (\d{2}:\d{2}:\d{2}), interval : \d+'},
                                  {"event_name": "跳转进度条到 01:05:00 ",
                                   "event_pattern": r'onGetCurrentTimeStamp seek : (\d{2}:\d{2}:\d{2}) -> (\d{2}:\d{2}:\d{2})'},
                                  {"event_name": "座椅按摩关闭",
                                   "event_pattern": r'action = 14, strength = 0'},
                                  {"event_name": "开始自然播放",
                                   "event_pattern": r'GetCurrentTimeStamp timestamp : \d+ - (\d{2}:\d{2}:\d{2}), interval : \d+'}
                                  ]